@import '../../variable.less';
@safe-padding-bottom: max(64rpx, constant(safe-area-inset-bottom));
@safe-padding-bottom: max(64rpx, env(safe-area-inset-bottom));
@fixed-bottom-btn-height: calc(
  @default-btn-height + @safe-padding-bottom + @default-margin-height
);
@menu-bar-height: 176rpx;
.main{
  width: 100%;
  height: 100%;
  position: relative;
  box-sizing: border-box;
  background-color: #EBDABE;
  overflow: hidden;
  padding:0;
  &.spring-festival{
    background: url(https://wanhuhealth.oss-cn-beijing.aliyuncs.com/static/note-miniProgram/spring-bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    .record-content{
      color:#ffe168;
      .swiper-content{
        color:#ffe168;
      }
    }
  }
  .menu-bar{
    position: relative;
    background-color: white;
    .menu-inner{
      position: relative;
      width: 100%;
      padding:0rpx 32rpx;
      box-sizing: border-box;
      .home{
        width: 64rpx;
        height: 64rpx;
        display: inline-block;
        .image{
          width: 100%;
          height: 100%;
        }
      }
      .avatar{
        left:50%;
        display: inline-block;
        position: absolute;
        top:0rpx;
        left:50%;
        transform: translateX(-50%);
        width: 70rpx;
        height: 70rpx;
      }
    }
  }
  .content{
    border-radius: 16rpx;
    padding:32rpx;
    overflow: hidden;
    position: relative;
    height: calc(100vh - @menu-bar-height);
    box-sizing: border-box;
  }
  .btn-group{
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding:0rpx 32rpx;
    .custom-btn{
      padding: 0;
      border: none;
      margin: 0;
      &::after{
        display: none;
      }
      &::before{
        display: none;
      }
    }
    .share-btn{
      width: 120rpx;
      height: 120rpx;
      overflow: hidden;
      border-radius: 120rpx;
      
      .image{
        width: inherit;
        height: inherit;
      }
    }
    .home-btn{
      width: 476rpx;
      height: 120rpx;
      line-height: 120rpx;
      text-align: center;
      background-color: #B11414;
      color: white;
      border-radius: 120rpx;
      font-size: @s-fontsize;
    }
  }
}